Braintree\CustomerGateway A

Total Complexity 53
Dependencies 23
Dependents 2
Total lines 588
Lines of code 285
Logical lines of code 120
Comment lines 210
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
_initialize()
A
46 11 39
updateSignature()
S
47 4 36
search()
S
55 4 18
find()
S
57 3 16
_verifyGatewayResponse()
S
61 3 13
_validateId()
S
63 3 12
createSignature()
S
48 1 34
_checkForDeprecatedAttributes()
S
67 3 8
fetch()
S
60 2 13
isEqual()
S
77 2 3
credit()
S
68 1 8
_doUpdate()
S
72 1 5
create()
S
72 1 5
_doCreate()
S
72 1 5
_defaultPaymentMethodFilter()
S
80 1 3
defaultPaymentMethod()
S
75 1 4
paymentMethods()
S
82 1 3
__toString()
S
75 1 4
creditNoValidate()
S
75 1 4
createNoValidate()
S
75 1 4
updateNoValidate()
S
75 1 4
update()
S
64 1 10
all()
S
64 1 10
saleNoValidate()
S
75 1 4
sale()
S
68 1 8
delete()
S
70 1 6
__construct()
S
71 1 6